import common from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import { terser } from 'rollup-plugin-terser';
const basicName = 'browser-filesystem';
export default [
    {
        input: './src/Structure.js',

        output: {
            file: `./dist/${basicName}.esm.js`,
            format: 'es',
        },
        external: [],
        plugins: [
            resolve({
                browser: true,
            }),

            common({}),
            // terser(),
            // visualizer(),
        ],
    },
];
